package com.nativetalk.service.four.reserve.insert;

import com.nativetalk.base.Page;
import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.member.TdNtMember;
import com.nativetalk.bean.reserve.TdNtReserveInsert;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by wangzheng on 2017/2/17.
 */
public interface FourReserveInsertService {
    /**
     * @param tdNtReserveInsert
     * @return RetInfo
     * @Purpose 添加预约
     * @version 4.1
     * @author wangzheng
     */
    @Transactional
    public RetInfo addTdNtReserveInsert(TdNtReserveInsert tdNtReserveInsert, TdNtMember tdNtMember);

    /**
     * @param page
     * @return RetInfo
     * @Purpose 查找用户可取消的未完成预约
     * @version 4.1
     * @author wangzheng
     */
    public RetInfo findTdNtReserveCanCancelUnFinishByMembId(Page page);

}
